
<html>
          <head>
          <title>Online Books Shopping</title>
          <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
          </head>
          <body bgcolor="#FFFFCC" text="#000000">
          <p align="center"><b> Books Kart</b></p>
          <?php
		  			$host="localhost";
                    $dbusername="root";
                    $dbpassword="";
                    $database="books";
                    $x=mysql_connect($host,$dbusername,$dbpassword);
                    $x2=mysql_select_db($database);
				 
		 ?>
          <table width="900" border="0" cellpadding="3" cellspacing="1">
                    <tr>
                    <td>&nbsp;</td>
                    <td>&nbsp;</td>
                    <td>&nbsp;</td>
                    <td>

                    <form name="form1" method="post" action="">
                    <div align="right">Search 
                    <input type="text" name="search" size="20">
                    <select name="searchfor">
                    <option value="ALL">ALL</option>
                    <option value="titles">Book Titles</option>
                    <option value="author">Authors</option>
                    </select>

			       <input type="submit" name="Submit" value="Submit">
                    </div>
                    </form>
                    </td>
                    <td>
                    </td>
                    </tr>
                    </table>
                    <hr>
                    <table width="90%" border="0" align="center" cellspacing="1" cellpadding="3">
                    <tr> 
                    <td height="121"> 
                    <h2>&nbsp;</h2>
                    <table width="100%" border="0"  cellspacing="1" cellpadding="3">
         
                    </table>
                    <h2>&nbsp;</h2>
                    </td>
                    <td width="200" height="121"> 
                    <form name="form1" method="post" action="">
                    <table width="200" border="1" align="center" cellspacing="0" cellpadding="1" bordercolor="#000000">
                    <tr> 
                    <td colspan="2" bgcolor="#000000"> 
                    <div align="center"><font color="#FFFFFF">
					<b>LOGIN</b></font></div>
                    </td>
                    </tr>

                    <tr bgcolor="#CCCCCC"> 
                    <td bgcolor="#FF6600">
                    <div align="right"><b>e-mail</b></div>
                    </td>

                    <td bgcolor="#FF6600"> 
                    <div align="center"> 
                    <input type="text" name="email" size="15" maxlength="100">
                    </div>
                    </td>
                    </tr>

                    <tr bgcolor="#CCCCCC"> 
                    <td bgcolor="#FF6600">
                    <div align="right"><b>Password 
					</b></div>
                    </td>

                    <td bgcolor="#FF6600"> 
                    <div align="center"> 
                    <input type="password" name="password" maxlength="15" size="15">
                    </div>
                    </td>
                    </tr>

                    <tr bgcolor="#CCCCCC"> 
                    <td colspan="2" bgcolor="#FF6600"> 
                    <center>
                    <input type="submit" name="Submit2" value="Submit">
                    </center>
                    </td>
                    </tr>
                    </table>
                    </form>
                    <p align="center">If you don't have a username/password 
                    <a href="new user.php">click here</a></p>
                    </td>
                    </tr>
                    </table>

                    <p>&nbsp;
                    </p>
                    <p>&nbsp;
                    </p>
                    <p>&nbsp;
                    </p>
                    <hr>
                    <table align=\"center\">
                    <tr>
                    <td><a href="aboutus.htm"   target="_blank">  about us </a>
                    </td>
                    <td><a href="feedback.htm"  target="_blank">  feedback </a>
                    </td>
                    </tr>
                    </table>

                    <p>&nbsp;
                    </p>
                    <p>&nbsp;
                    </p>
                    </body>
                    </html>